<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator"
%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"
%><%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"
%><%@ taglib prefix="spring" uri="http://www.springframework.org/tags"
%><%@ taglib prefix="security" uri="http://www.springframework.org/security/tags"
%><%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"
%>
<ul id="menu">
    <li><a class="active" href="${pageContext.request.contextPath}/index.action"><fmt:message key="layouts_home"/></a></li>
<security:authorize ifAnyGranted="ROLE_ADMIN,ROLE_USER">
    <li><a href="#"><fmt:message key="layouts_admin"/></a>
        <ul>
            <li><a href="${pageContext.request.contextPath}/domain/businessUnit/index.action">所有商户</a></li>
            <li><a href="${pageContext.request.contextPath}/domain/doctor/index.action">所有医师</a></li>
            <li><a href="${pageContext.request.contextPath}/domain/department/index.action">所有科室 </a></li>
            <li><a href="${pageContext.request.contextPath}/domain/businessMedia/index.action">商户图片</a></li>
            <li><a href="${pageContext.request.contextPath}/domain/dbcComment/index.action">评论管理</a></li>
            <li><a href="${pageContext.request.contextPath}/domain/dcsCoupon/index.action">优惠券 </a></li>
            <li><a href="${pageContext.request.contextPath}/domain/dcsPromotion/index.action">促销打折</a></li>
            <li><a href="${pageContext.request.contextPath}/domain/product/index.action">所有商品</a></li>
            <li><a href="${pageContext.request.contextPath}/domain/sku/index.action">所有商户商品</a></li>
            <li><a href="${pageContext.request.contextPath}/domain/addonSku/index.action">特色项目</a></li>
            <li><a href="${pageContext.request.contextPath}/domain/addonArticle/index.action">所有文章</a></li>
            <li><a href="${pageContext.request.contextPath}/domain/sfMockAccount/index.action">我的账户</a></li>
            <li><a href="${pageContext.request.contextPath}/domain/category/index.action">分类管理</a></li>
        </ul>
    </li>
</security:authorize>
    <li><a href="${pageContext.request.contextPath}/logout.action"><fmt:message key="login.logout"/></a></li>
</ul>
